package com.example.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.shopping.pojo.domain.OrderBean;
import com.example.shopping.pojo.vo.OrderVo;

import java.util.List;

/**
 * @author Dream
 * @version 1.0
 * @date 2020/11/9 11:52
 */
public interface OrderService extends IService<OrderBean> {
    /**
     * 根据用户查询订单
     * @param userXh
     * @return
     */
    List<OrderVo> getByXh(String userXh);

    /**
     * 添加订单
     * @param orderBean
     */
    String addOrder(OrderBean orderBean);
}
